package com.xuwang.pojo;

import java.sql.Timestamp;
import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 菜品留样表(FoodSample)实体类
 *
 * @author abaaba
 * @since 2021-09-20 12:42:05
 * @version 1.0
 */
@ApiModel(value = "FoodSample",description = "菜品留样表")
public class FoodSample implements Serializable {
    private static final long serialVersionUID = -25082551519454067L;
    /**
    * 主键
    */
	@ApiModelProperty(name = "id",notes = "主键",dataType = "Integer",required = true)
    private Integer id;
    /**
    * 菜品生产批号
    */
	@ApiModelProperty(name = "foodBatchNo",notes = "菜品生产批号",dataType = "String",required = true)
    private String foodBatchNo;
    /**
    * 菜品留样时间
    */
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@ApiModelProperty(name = "sampleTime",notes = "菜品留样时间",dataType = "Timestamp",required = true)
    private Timestamp sampleTime;
    /**
    * 留样食品名字
    */
	@ApiModelProperty(name = "foodName",notes = "留样食品名字",dataType = "String",required = true)
    private String foodName;
    /**
    * 备注
    */
	@ApiModelProperty(name = "remark",notes = "备注",dataType = "String",required = true)
    private String remark;
    /**
    * 留样企业名字
    */
	@ApiModelProperty(name = "companyName",notes = "留样企业名字",dataType = "String",required = true)
    private String companyName;

        
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
        
    public String getFoodBatchNo() {
        return foodBatchNo;
    }

    public void setFoodBatchNo(String foodBatchNo) {
        this.foodBatchNo = foodBatchNo;
    }

    public Timestamp getSampleTime() {
        return sampleTime;
    }

    public void setSampleTime(Timestamp sampleTime) {
        this.sampleTime = sampleTime;
    }

    public String getFoodName() {
        return foodName;
    }

    public void setFoodName(String foodName) {
        this.foodName = foodName;
    }
        
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
        
    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

}